package com.Cychat.commons.entity.pojo;


import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("admin")
public class Admin {
    @Schema(description="管理员ID")
    @TableId(value = "admin_id", type = IdType.AUTO)
    private Integer adminId;
    @Schema(description="用户ID")
    private Long userId;
    @Schema(description="最后登录时间")
    private Date lastLoginTime;
}
